package com.gitee.magic.core.valid.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.gitee.magic.core.valid.ValidCheckCustom;

/**
 * 自定义验证实现ValidCheckCustom接口
 * @author zhenyao
 *
 */
@Target({ElementType.FIELD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface Custom {
	
	Class<? extends ValidCheckCustom> value();
	String param() default "";
	String message() default "";
	
}
